package com.irdstudio.efp.esb.api.bean.yx;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.irdstudio.efp.esb.api.common.GroupeInterface.ms;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 需求编号：xxxxxx<br/>
 * 问题编号：<br/>
 * 功能描述：马上金融用信审批结果通知的请求对象类<br/>
 * 开发人员：tiankg<br/>
 * 创建时间：2020/5/14 18:04
 * @Version 1.0
 * @Since 1.0
 */
@JsonPropertyOrder(alphabetic = true)
public class ReqMsYxApprNoticeBean {

    //申请编号
    @JSONField(name = "AppNo")
    @Length(max = 64,groups= {ms.class})
    @NotEmpty(groups= {ms.class})
    @NotNull(groups= {ms.class})
    private String AppNo;
    //审批结果标志
    @JSONField(name = "AprvlRsltFlg")
    @Length(max = 5,groups= {ms.class})
    @NotEmpty(groups= {ms.class})
    @NotNull(groups= {ms.class})
    private String AprvlRsltFlg;
    //拒绝原因大类
    @JSONField(name = "RfsRsnMainCls")
    @Length(max = 500,groups= {ms.class})
    private String RfsRsnMainCls;
    //拒绝原因小类
    @JSONField(name = "RfsRsnSbcls")
    @Length(max = 500,groups= {ms.class})
    private String RfsRsnSbcls;
    //预留字段1
    @JSONField(name = "RsrvFld1")
    @Length(max = 2048,groups= {ms.class})
    private String RsrvFld1;
    //预留字段2
    @JSONField(name = "RsrvFld2")
    @Length(max = 2048,groups= {ms.class})
    private String RsrvFld2;

    public String getAppNo() {
        return AppNo;
    }

    public void setAppNo(String appNo) {
        AppNo = appNo;
    }

    public String getAprvlRsltFlg() {
        return AprvlRsltFlg;
    }

    public void setAprvlRsltFlg(String aprvlRsltFlg) {
        AprvlRsltFlg = aprvlRsltFlg;
    }

    public String getRfsRsnMainCls() {
        return RfsRsnMainCls;
    }

    public void setRfsRsnMainCls(String rfsRsnMainCls) {
        RfsRsnMainCls = rfsRsnMainCls;
    }

    public String getRfsRsnSbcls() {
        return RfsRsnSbcls;
    }

    public void setRfsRsnSbcls(String rfsRsnSbcls) {
        RfsRsnSbcls = rfsRsnSbcls;
    }

    public String getRsrvFld1() {
        return RsrvFld1;
    }

    public void setRsrvFld1(String rsrvFld1) {
        RsrvFld1 = rsrvFld1;
    }

    public String getRsrvFld2() {
        return RsrvFld2;
    }

    public void setRsrvFld2(String rsrvFld2) {
        RsrvFld2 = rsrvFld2;
    }
}
